package model;

public class BasicItem{
	private int id;
	private String description;
	private double price;
	private double promotionalPrice;
	private String brandDescription;
	private Producer producer;
	public BasicItem(int id, String description, double price,
			double promotionalPrice, String brandDescription, Producer producer) {
		super();
		this.id = id;
		this.description = description;
		this.price = price;
		this.promotionalPrice = promotionalPrice;
		this.brandDescription = brandDescription;
		this.producer = producer;
	}
	/**
	 * @return the producer
	 */
	public Producer getProducer() {
		return producer;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(double price) {
		this.price = price;
	}
	/**
	 * @return the promotionalPrice
	 */
	public double getPromotionalPrice() {
		return promotionalPrice;
	}
	/**
	 * @param promotionalPrice the promotionalPrice to set
	 */
	public void setPromotionalPrice(double promotionalPrice) {
		this.promotionalPrice = promotionalPrice;
	}
	/**
	 * @return the brandDescription
	 */
	public String getBrandDescription() {
		return brandDescription;
	}
	/**
	 * @param brandDescription the brandDescription to set
	 */
	public void setBrandDescription(String brandDescription) {
		this.brandDescription = brandDescription;
	}

	


	@Override
	public String toString() {
		return "BasicItem [id=" + id + ", description=" + description
				+ ", price=" + price + ", promotionalPrice=" + promotionalPrice
				+ ", brandDescription=" + brandDescription + ", producer="
				+ producer + "]";
	}


	
}
